package javaTest02.exercise_2;

import javaTest02.utils.Person;

public class StaticProxyTest {//静态代理测试
    public static void main(String[] args) {
        Person person=new Person();//委托类
        PersonProxy personProxy =new PersonProxy(person);//代理类

        personProxy.setName("海绵宝宝");
        personProxy.setAge(25);
        personProxy.setGender("男");
        personProxy.setHeight(180);
        personProxy.setWeight(140);
        personProxy.setAddress("比基尼海滩");
    }
}
